// Copyright (c) 2010 Manuel Peinado Gallego <manuel.peinado@gmail.com>
// Distributed under the MIT license

#include "stdafx.h"
#include "TextureTransform.h"
#include "TransformNode.h"

TextureTransform::TextureTransform(ref<TransformNode> owner)
: m_owner(owner)
{
}
    
gx::Mat4 TextureTransform::getGlobalTransform() const 
{ 
	return m_owner->getGlobalTransform() * m_localTransform; 
}

